from django.conf.urls.defaults import *
from django.contrib.auth.decorators import login_required

from dashboard.views import dashboard, user_profile

urlpatterns = patterns('',
    url(r'^$', login_required(dashboard)),
    url(r'^(?P<username>[-\w]+)/$', user_profile, name='user_profile'),
)